const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  //多页面配置
  pages: {
    index: {
      entry: 'src/pages/index/main.js',
      template: 'public/index.html',
      fileName: 'index.html'
    },
    login: {
      entry: 'src/pages/login/main.js',
      template: 'public/login.html',
      fileName: 'login.html'
    },
    // page3: {
    //   entry: 'src/pages/page3/main.js',
    //   template: 'public/page3.html',
    //   fileName: 'page3.html'
    // }
  },
})
